package com.rentong.wx.sys.dao;

import com.rentong.wx.cust.dto.ServiceProjectDto;
import com.rentong.wx.sys.domain.SysServiceEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

/**
 *
 * @author zhangle
 * @email 459343178@qq.com
 * @date 2024-12-24 14:42:30
 */
@Mapper
public interface SysServiceDao extends BaseMapper<SysServiceEntity> {

    List<ServiceProjectDto> serviceProjectList(@Param("bigTypeId") Long bigTypeId, @Param("smallTypeId") Long smallTypeId, @Param("serviceName") String serviceName, @Param("chefId") Long chefId);

    ServiceProjectDto getServiceProject(@Param("serviceId") Long serviceId);


    SysServiceEntity getByOrderType(@Param("serviceOrderId") Long serviceOrderId);

}
